from config import FlaskConfig
from waitress import serve
from peewee import *
if __name__ == "__main__":
    FlaskConfig.app.run(port=7777, debug=True, host="0.0.0.0",processes = 1,threaded = True)
    # serve(FlaskConfig.app,host='0.0.0.0', port=7777, threads=4)
    # FlaskConfig.FlaskApp(FlaskConfig.app,{
    #     'bind': '127.0.0.1:8000',
    #     'workers': 1
    # }).run()